package hanjia;

public class hanjia21 {
	public static void main(String [] args){
        long Sum = 1;
        long temp = 1;
        for (int i=2; i<=20; i++){
            temp *= i;
            Sum += temp;
        }
        System.out.println(Sum);
    }
}
